<h2>Résultats de <?php echo $this->search; ?></h2>

<h3>Articles</h3>
<ul>
<?php foreach($this->articleList as $article) { ?>
    <li><a href="<?php echo $this->baseUrl(); ?>/articles/view/id/<?php
    echo $article->id_article; ?>"><?php echo $article->titre; ?></a> (<?php echo $article->ts_creation; ?>)</li>
<?php } ?>
</ul>

<h3>Évènements</h3>
<ul>
<?php foreach($this->eventList as $event) { ?>
    <li><a href="<?php echo $this->baseUrl(); ?>/articles/viewevent/id/<?php
    echo $event->id_event; ?>"><?php echo $event->nom_event; ?></a> (<?php echo $event->ts_creation; ?>)</li>
<?php } ?>
</ul>
